package com.hejia.alauda.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;

/**
 * 用户订单按天统计
 * 
 * @author hyr
 *
 */
public class UserOrderDayStats extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4754064005871706061L;
	
	private Long biggerCategoryId; // 稍大类别ID
	
	private Long categoryId; // 类别ID
	
	private Long popularizeId; // 推广ID

	@Column
	private String sourceId; // 来源ID

	@Column
	private Date statsTime; // 统计时间

	@Column
	private Long registeredUserCount; // 注册用户数

	@Column
	private Long newTradeUserCount; // 新增交易用户数

	@Column
	private Long orderCount; // 交易订单数

	@Column
	private Long successOrderCount; // 成功交易订单数

	@Column
	private Long repeatOrderCount; // 复投订单数

	@Column
	private BigDecimal successOrderAmount; // 成功交易金额

	@Column
	private BigDecimal newTradeUserOrderAmount; // 新增交易用户交易金额

	@Column
	private BigDecimal repeatOrderAmount; // 复投订单金额

	public Long getBiggerCategoryId() {
		return biggerCategoryId;
	}

	public void setBiggerCategoryId(Long biggerCategoryId) {
		this.biggerCategoryId = biggerCategoryId;
	}

	public Long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public Long getPopularizeId() {
		return popularizeId;
	}

	public void setPopularizeId(Long popularizeId) {
		this.popularizeId = popularizeId;
	}
	
	public String getSourceId() {
		return sourceId;
	}

	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}

	public Date getStatsTime() {
		return statsTime;
	}

	public void setStatsTime(Date statsTime) {
		this.statsTime = statsTime;
	}

	public Long getRegisteredUserCount() {
		return registeredUserCount;
	}

	public void setRegisteredUserCount(Long registeredUserCount) {
		this.registeredUserCount = registeredUserCount;
	}

	public Long getNewTradeUserCount() {
		return newTradeUserCount;
	}

	public void setNewTradeUserCount(Long newTradeUserCount) {
		this.newTradeUserCount = newTradeUserCount;
	}

	public Long getOrderCount() {
		return orderCount;
	}

	public void setOrderCount(Long orderCount) {
		this.orderCount = orderCount;
	}

	public Long getSuccessOrderCount() {
		return successOrderCount;
	}

	public void setSuccessOrderCount(Long successOrderCount) {
		this.successOrderCount = successOrderCount;
	}

	public Long getRepeatOrderCount() {
		return repeatOrderCount;
	}

	public void setRepeatOrderCount(Long repeatOrderCount) {
		this.repeatOrderCount = repeatOrderCount;
	}

	public BigDecimal getSuccessOrderAmount() {
		return successOrderAmount;
	}

	public void setSuccessOrderAmount(BigDecimal successOrderAmount) {
		this.successOrderAmount = successOrderAmount;
	}

	public BigDecimal getNewTradeUserOrderAmount() {
		return newTradeUserOrderAmount;
	}

	public void setNewTradeUserOrderAmount(BigDecimal newTradeUserOrderAmount) {
		this.newTradeUserOrderAmount = newTradeUserOrderAmount;
	}

	public BigDecimal getRepeatOrderAmount() {
		return repeatOrderAmount;
	}

	public void setRepeatOrderAmount(BigDecimal repeatOrderAmount) {
		this.repeatOrderAmount = repeatOrderAmount;
	}

}
